#ifndef ABSTRACTTABLE_H
#define ABSTRACTTABLE_H

#include <QObject>
#include <QTableWidget>
#include <QPoint>

class abstractTable : public QObject
{
    Q_OBJECT
public:
    QTableWidget *m_table;

public:
    explicit abstractTable(QTableWidget *table, QObject *parent = nullptr);
    explicit abstractTable(QObject *parent = nullptr);

    virtual int getId(int row);
    virtual QString getName(int row);

signals:
    void menuRequested(const QPoint &pos);
};

#endif // ABSTRACTTABLE_H
